/**
 * Created by vincent on 2017/9/28.
 */
moduleResource.factory('GaugeTopicGroupResource', function (CambioResource, $$CambioConfig) {
    return CambioResource($$CambioConfig.RESOURCE_URL + '/gaugeTopicGroup', {}, {
        findByGaugeTemplateId: {
            url: $$CambioConfig.RESOURCE_URL + '/gaugeTopicGroup/findByGaugeTemplateId/:gaugeTemplateId',
            method: 'GET'
        },
        findListByGaugeTemplateId: {
            url: $$CambioConfig.RESOURCE_URL + '/gaugeTopicGroup/findListByGaugeTemplateId/:gaugeTemplateId',
            isArray: true,
            method: 'GET'
        },
        save: {
            url: $$CambioConfig.RESOURCE_URL + '/gaugeTopicGroup/save',
            method: 'POST'
        },
        add: {
            url: $$CambioConfig.RESOURCE_URL + '/gaugeTopicGroup/add',
            method: 'POST'
        },
        delete: {
            url: $$CambioConfig.RESOURCE_URL + '/gaugeTopicGroup/delete/:id',
            method: 'DELETE'
        },
        updateConfig: {
            url: $$CambioConfig.RESOURCE_URL + '/gaugeTopicGroup/update/config',
            method: 'PUT'
        }
    });
});